package com.mc.model;

import java.io.Serializable;
import java.util.Date;

public class Xy implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    private Integer xyId;

    private String xyName;

    private String xyJs;

    private Xyjb xyJb;

    private Teacher tId;

    private XyType xytId;

    private Date xyTime;

    private String xyIntro;
    private int count;

    private String xyImg;
    
    public String getXyImg() {
		return xyImg;
	}

	public void setXyImg(String xyImg) {
		this.xyImg = xyImg;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public Integer getXyId() {
        return xyId;
    }

    public void setXyId(Integer xyId) {
        this.xyId = xyId;
    }

    public String getXyName() {
        return xyName;
    }

    public void setXyName(String xyName) {
        this.xyName = xyName == null ? null : xyName.trim();
    }

    public String getXyJs() {
        return xyJs;
    }

    public void setXyJs(String xyJs) {
        this.xyJs = xyJs == null ? null : xyJs.trim();
    }

   

    

    public Xyjb getXyJb() {
		return xyJb;
	}

	public void setXyJb(Xyjb xyJb) {
		this.xyJb = xyJb;
	}

	public Teacher gettId() {
		return tId;
	}

	public void settId(Teacher tId) {
		this.tId = tId;
	}

	public XyType getXytId() {
		return xytId;
	}

	public void setXytId(XyType xytId) {
		this.xytId = xytId;
	}

	public Date getXyTime() {
        return xyTime;
    }

    public void setXyTime(Date xyTime) {
        this.xyTime = xyTime;
    }

    public String getXyIntro() {
        return xyIntro;
    }

    public void setXyIntro(String xyIntro) {
        this.xyIntro = xyIntro == null ? null : xyIntro.trim();
    }

	@Override
	public String toString() {
		return "Xy [xyId=" + xyId + ", xyName=" + xyName + ", xyJs=" + xyJs
				+ ", xyJb=" + xyJb + ", tId=" + tId + ", xytId=" + xytId
				+ ", xyTime=" + xyTime + ", xyIntro=" + xyIntro + "]";
	}
    
}